var foo;
var foo, bar, baz;
declare const foo: number;

namespace myLib {
  let numberOfGreetings: number;
};

declare namespace myLib1 {
  const foo: number;
  namespace myLib2 {
    let bar: string;
    namespace myLib3 {
      let baz: object;
    }
  }
};



const foo: number;

function foo() {
  var foo;
  var bar;
}
let a;
const a = 1;

function foo() {
  let a, b;
  if (a) {
    let c, d;
  }
}

function foo() {
  const a = 1,
    b = true;
  if (a) {
    const c = 3,
      d = null;
  }
}

function foo() {
  let a;
  const b = false;
  var c;
}

declare namespace myLib {
  let numberOfGreetings: number;
}

interface GreetingSettings {
  greeting: string;
  duration?: number;
  color?: string;
}

type GreetingLike = string | (() => string) | Greeter;

function foo() {
  var bar: string;
}

var bar: string;

function foo(arg1: string = 'string'): void {};

const foo: string = 'hello';

const class1 = class NAME {
  static pi: number = 3.14;
};

interface IEmployee {
  empCode: number;
  empName: string;
  getSalary: (number) => number; // arrow function
  getManagerName(number): string;
}